using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.DirectX.DirectDraw;

namespace Zsa.Emulation.Render.Video.DirectDraw
{
    public class DirectDrawRenderCapabilities : GraphicRenderCapabilities
    {


        /// <summary>
        /// Initializes a new instance of the <see cref="T:D3dRenderCapabilities"/> class.
        /// </summary>
        public DirectDrawRenderCapabilities()
            : base ( 1 )
        {
        }

        public override GraphicRenderSettings CreateSettings(RenderDeviceItem item)
        {
            return new DirectDrawRenderSettings(item);

        }

        

        /// <summary>
        /// Gets the devices supported by the render.
        /// </summary>
        /// <returns></returns>
        public override IList<RenderDeviceItem> GetDevices()
        {

            RenderDeviceItem item = new RenderDeviceItem("Default", string.Empty, RenderDeviceType.Video, null);
            return new RenderDeviceItem[] { item };
        }

        public override RenderDeviceItem DefaultDevice
        {
            get
            {
                return new RenderDeviceItem("Default", string.Empty, RenderDeviceType.Video, null);
            }
        }


    }
}
